package NG::Gen::App;
use strict;
use warnings;
use utf8;

use base 'NG::Sys::App';

sub users {
	my ($self,$dbh) = @_;
	unless($self->{_users}){
		require NG::Gen::Users;
		$self->{_users} = NG::Gen::Users->new(app => $self, dbh => $dbh || $self->dbh);
	}
	return $self->{_users};
}

1;
